__author__ = 'zoulida'

import akshare as ak
def get_codeData(code="sz002241"):
    df = ak.stock_zh_a_daily(symbol=code,
                             adjust="qfq")
    df.to_excel("歌尔股份k.xlsx")

get_codeData()